package com.newegg.nlp.arangodb.model;

import com.arangodb.springframework.annotation.Edge;
import com.arangodb.springframework.annotation.From;
import com.arangodb.springframework.annotation.To;
import com.newegg.nlp.arangodb.BaseModel;

@Edge
public class KeywordAdjective extends BaseModel{

	@From
	Adjective adjective;
	
	@To
	Keyword keyword;
	
	public KeywordAdjective(Adjective adjective, Keyword keyword) {
		super();
		this.setId(adjective.getId() + "_" + keyword.getId());
		this.adjective = adjective;
		this.keyword = keyword;
	}

	public Adjective getAdjective() {
		return adjective;
	}

	public void setAdjective(Adjective adjective) {
		this.adjective = adjective;
	}

	public Keyword getKeyword() {
		return keyword;
	}

	public void setKeyword(Keyword keyword) {
		this.keyword = keyword;
	}
}
